import {Api} from "@/common/api";
import {requestMethod} from "@/common/request";

export class OverviewMiddle extends Api {
  constructor() {
    super("api/index-jc");
    this.method(requestMethod.GET);
  }
}

export class OverviewL1 extends Api {
  constructor() {
    super("api/index-znjk");
    this.method(requestMethod.GET);
  }
}

export class CarRecord extends Api {
  constructor() {
    super("api/index-cljr");
    this.method(requestMethod.GET);
  }
}

export class CarChartApi extends Api {
  constructor() {
    super("api/index-cltj");
    this.method(requestMethod.GET);
  }
}

export class PeopleChartApi extends Api {
  constructor() {
    super("api/index-lrtj");
    this.method(requestMethod.GET);
  }
}
// 人员考勤统计
export class KaoApi extends Api {
  constructor() {
    super("api/index-qytj");
    this.method(requestMethod.GET);
  }
}
// 车辆类型统计
export class CarStatisticsApi extends Api {
  constructor() {
    super("api/index-cllx");
    this.method(requestMethod.GET);
  }
}
// 人员考勤
export class RenKaoApi extends Api {
  constructor() {
    super("api/index-rykq");
    this.method(requestMethod.GET);
  }
}
// 车辆车位统计
export class ClcwApi extends Api {
  constructor() {
    super("api/index-clxx");
    this.method(requestMethod.GET);
  }
}
// 车辆类型统计
export class CllxApi extends Api {
  constructor() {
    super("api/index-cllx");
    this.method(requestMethod.GET);
  }
}
// 设备总览
export class SbzlApi extends Api {
  constructor() {
    super("api/index-sbzl");
    this.method(requestMethod.GET);
  }
}
// 监控
export class JkApi extends Api {
  constructor() {
    super("api/index-jk");
    this.method(requestMethod.GET);
  }
}

// 监控指标
export class JkzbApi extends Api {
  constructor() {
    super("api/index-yw");
    this.method(requestMethod.GET);
  }
}

// cpu列表
export class CpuGetApi extends Api {
  constructor() {
    super("api/index-cpu");
    this.method(requestMethod.GET);
  }
}
// 内存列表
export class NcGetApi extends Api {
  constructor() {
    super("api/index-nc");
    this.method(requestMethod.GET);
  }
}

// 磁盘列表
export class CpGetApi extends Api {
  constructor() {
    super("api/index-cp");
    this.method(requestMethod.GET);
  }
}
// 磁盘空间列表
export class CpkjGetApi extends Api {
  constructor() {
    super("api/index-cpkj");
    this.method(requestMethod.GET);
  }
}
// 门禁
export class MjApi extends Api {
  constructor() {
    super("api/mj");
    this.method(requestMethod.GET);
  }
}
// 基础设置查看
export class JcszApi extends Api {
  constructor() {
    super("api/index-jcse");
    this.method(requestMethod.GET);
  }
}
// 基础设置
export class JcszPostApi extends Api {
  constructor() {
    super("api/index-jcseedit");
    this.method(requestMethod.POST);
  }
}

// 监控指标
export class JkzbEditApi extends Api {
  constructor() {
    super("api/ywedit");
    this.method(requestMethod.POST);
  }
}

// 删除
export class RemoveApi extends Api {
  constructor() {
    super("");
    this.method(requestMethod.GET);
  }
}
// 边界告警
export class BjgjApi extends Api {
  constructor() {
    super("api/bjgj");
    this.method(requestMethod.GET);
  }
}
// 设备告警
export class SblxzzApi extends Api {
  constructor() {
    super("api/sblxzz");
    this.method(requestMethod.GET);
  }
}
// 设备告警
export class SqlApi extends Api {
  constructor() {
    super("api/spl");
    this.method(requestMethod.GET);
  }
}


